.class public Lcom/glympse/platform/common/JobQueue$CompleteJobOnMainThread;
.super Lcom/glympse/platform/GRunnable;
.source "JobQueue.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/glympse/platform/common/JobQueue;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0xc
    name = "CompleteJobOnMainThread"
.end annotation


# instance fields
.field protected m_oJob:Lcom/glympse/platform/common/JobQueue$Job;


# direct methods
.method public constructor <init>(Lcom/glympse/platform/common/JobQueue$Job;)V
    .locals 1
    .parameter "oJob"

    .prologue
    .line 335
    invoke-direct {p0}, Lcom/glympse/platform/GRunnable;-><init>()V

    .line 332
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/glympse/platform/common/JobQueue$CompleteJobOnMainThread;->m_oJob:Lcom/glympse/platform/common/JobQueue$Job;

    .line 337
    iput-object p1, p0, Lcom/glympse/platform/common/JobQueue$CompleteJobOnMainThread;->m_oJob:Lcom/glympse/platform/common/JobQueue$Job;

    .line 338
    return-void
.end method


# virtual methods
.method public Run()V
    .locals 4

    .prologue
    .line 343
    iget-object v2, p0, Lcom/glympse/platform/common/JobQueue$CompleteJobOnMainThread;->m_oJob:Lcom/glympse/platform/common/JobQueue$Job;

    iget-object v1, v2, Lcom/glympse/platform/common/JobQueue$Job;->m_oJobQueue:Lcom/glympse/platform/common/JobQueue;

    .line 344
    .local v1, oJobQueue:Lcom/glympse/platform/common/JobQueue;
    iget-object v2, p0, Lcom/glympse/platform/common/JobQueue$CompleteJobOnMainThread;->m_oJob:Lcom/glympse/platform/common/JobQueue$Job;

    const/4 v3, 0x0

    iput-object v3, v2, Lcom/glympse/platform/common/JobQueue$Job;->m_oJobQueue:Lcom/glympse/platform/common/JobQueue;

    .line 348
    :try_start_0
    iget-object v2, p0, Lcom/glympse/platform/common/JobQueue$CompleteJobOnMainThread;->m_oJob:Lcom/glympse/platform/common/JobQueue$Job;

    invoke-virtual {v2, v1}, Lcom/glympse/platform/common/JobQueue$Job;->OnComplete(Lcom/glympse/platform/common/JobQueue;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 354
    :goto_0
    return-void

    .line 350
    :catch_0
    move-exception v2

    move-object v0, v2

    .line 352
    .local v0, e:Ljava/lang/Exception;
    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    goto :goto_0
.end method
